package com.maixin.code.store;

import java.util.ArrayList;
import java.util.List;

/**
 *  用于记录树的数据
 * @author SJ
 *
 */
public class TreeStore {
	private String id;		//ID 
	private String text;	//显示的文字
	private boolean leaf;	//是否是子节点
	private boolean checked;//是否选中	
	private String icon;	//图片URL
	List<TreeStore> children = new ArrayList<TreeStore>() ;
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public String getIcon() {
		return icon;
	}
	public void setIconurl(String icon) {
		this.icon = icon;
	}
	public List<TreeStore> getChildren() {
		return children;
	}
	public void setChildren(List<TreeStore> children) {
		this.children = children;
	}
}
